package me.trytofeel.bean;

import java.util.Arrays;
import java.util.List;

public class Student {
    private String sName;
    private int sAge;
    private Teacher teacher;

    public Student() {
    }

    public Student(String sName, int sAge, Teacher teacher) {
        this.sName = sName;
        this.sAge = sAge;
        this.teacher = teacher;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public int getsAge() {
        return sAge;
    }

    public void setsAge(int sAge) {
        this.sAge = sAge;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sName='" + sName + '\'' +
                ", sAge=" + sAge +
                "" + '}';
    }
}
